# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ventanaDevolucion.ui'
#
# Created: Thu Apr 19 00:31:21 2012
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(486, 698)
        self.layoutWidget = QtGui.QWidget(Form)
        self.layoutWidget.setGeometry(QtCore.QRect(11, 22, 459, 659))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout_15 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_15.setMargin(0)
        self.verticalLayout_15.setObjectName(_fromUtf8("verticalLayout_15"))
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(36)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_15.addWidget(self.label_3)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.verticalLayout_13 = QtGui.QVBoxLayout()
        self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13"))
        self.label_8 = QtGui.QLabel(self.layoutWidget)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_13.addWidget(self.label_8)
        self.spinVenta = QtGui.QSpinBox(self.layoutWidget)
        self.spinVenta.setMinimum(1)
        self.spinVenta.setObjectName(_fromUtf8("spinVenta"))
        self.verticalLayout_13.addWidget(self.spinVenta)
        self.horizontalLayout_7.addLayout(self.verticalLayout_13)
        self.verticalLayout_12 = QtGui.QVBoxLayout()
        self.verticalLayout_12.setObjectName(_fromUtf8("verticalLayout_12"))
        spacerItem = QtGui.QSpacerItem(20, 13, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_12.addItem(spacerItem)
        self.pushButton_5 = QtGui.QPushButton(self.layoutWidget)
        self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))
        self.verticalLayout_12.addWidget(self.pushButton_5)
        self.horizontalLayout_7.addLayout(self.verticalLayout_12)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem1)
        self.verticalLayout_15.addLayout(self.horizontalLayout_7)
        self.label_6 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.verticalLayout_15.addWidget(self.label_6)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_10 = QtGui.QVBoxLayout()
        self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10"))
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_10.addWidget(self.label_5)
        self.spinCodigo = QtGui.QSpinBox(self.layoutWidget)
        self.spinCodigo.setEnabled(False)
        self.spinCodigo.setMinimum(1)
        self.spinCodigo.setObjectName(_fromUtf8("spinCodigo"))
        self.verticalLayout_10.addWidget(self.spinCodigo)
        self.horizontalLayout.addLayout(self.verticalLayout_10)
        self.verticalLayout_9 = QtGui.QVBoxLayout()
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.textoArticulo_2 = QtGui.QLabel(self.layoutWidget)
        self.textoArticulo_2.setObjectName(_fromUtf8("textoArticulo_2"))
        self.verticalLayout_9.addWidget(self.textoArticulo_2)
        self.comboArticulo = QtGui.QComboBox(self.layoutWidget)
        self.comboArticulo.setEnabled(False)
        self.comboArticulo.setObjectName(_fromUtf8("comboArticulo"))
        self.verticalLayout_9.addWidget(self.comboArticulo)
        self.horizontalLayout.addLayout(self.verticalLayout_9)
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.textoCantidad_2 = QtGui.QLabel(self.layoutWidget)
        self.textoCantidad_2.setObjectName(_fromUtf8("textoCantidad_2"))
        self.verticalLayout_8.addWidget(self.textoCantidad_2)
        self.spinCantidad = QtGui.QSpinBox(self.layoutWidget)
        self.spinCantidad.setEnabled(False)
        self.spinCantidad.setMinimum(1)
        self.spinCantidad.setObjectName(_fromUtf8("spinCantidad"))
        self.verticalLayout_8.addWidget(self.spinCantidad)
        self.horizontalLayout.addLayout(self.verticalLayout_8)
        self.verticalLayout_11 = QtGui.QVBoxLayout()
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.textoPrecio_2 = QtGui.QLabel(self.layoutWidget)
        self.textoPrecio_2.setObjectName(_fromUtf8("textoPrecio_2"))
        self.verticalLayout_11.addWidget(self.textoPrecio_2)
        self.spinPrecio = QtGui.QSpinBox(self.layoutWidget)
        self.spinPrecio.setEnabled(False)
        self.spinPrecio.setMinimum(1)
        self.spinPrecio.setMaximum(999999999)
        self.spinPrecio.setObjectName(_fromUtf8("spinPrecio"))
        self.verticalLayout_11.addWidget(self.spinPrecio)
        self.horizontalLayout.addLayout(self.verticalLayout_11)
        self.verticalLayout_15.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.pushAgregar = QtGui.QPushButton(self.layoutWidget)
        self.pushAgregar.setEnabled(False)
        self.pushAgregar.setObjectName(_fromUtf8("pushAgregar"))
        self.horizontalLayout_3.addWidget(self.pushAgregar)
        self.verticalLayout_15.addLayout(self.horizontalLayout_3)
        self.label_7 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_15.addWidget(self.label_7)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_4.addWidget(self.label_4)
        self.spinCodigoNuevo = QtGui.QSpinBox(self.layoutWidget)
        self.spinCodigoNuevo.setEnabled(False)
        self.spinCodigoNuevo.setMinimum(1)
        self.spinCodigoNuevo.setObjectName(_fromUtf8("spinCodigoNuevo"))
        self.verticalLayout_4.addWidget(self.spinCodigoNuevo)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.textoArticulo = QtGui.QLabel(self.layoutWidget)
        self.textoArticulo.setObjectName(_fromUtf8("textoArticulo"))
        self.verticalLayout_3.addWidget(self.textoArticulo)
        self.comboArticuloNuevo = QtGui.QComboBox(self.layoutWidget)
        self.comboArticuloNuevo.setEnabled(False)
        self.comboArticuloNuevo.setObjectName(_fromUtf8("comboArticuloNuevo"))
        self.verticalLayout_3.addWidget(self.comboArticuloNuevo)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.textoCantidad = QtGui.QLabel(self.layoutWidget)
        self.textoCantidad.setObjectName(_fromUtf8("textoCantidad"))
        self.verticalLayout_2.addWidget(self.textoCantidad)
        self.spinCantidadNuevo = QtGui.QSpinBox(self.layoutWidget)
        self.spinCantidadNuevo.setEnabled(False)
        self.spinCantidadNuevo.setMinimum(1)
        self.spinCantidadNuevo.setObjectName(_fromUtf8("spinCantidadNuevo"))
        self.verticalLayout_2.addWidget(self.spinCantidadNuevo)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.textoPrecio = QtGui.QLabel(self.layoutWidget)
        self.textoPrecio.setObjectName(_fromUtf8("textoPrecio"))
        self.verticalLayout.addWidget(self.textoPrecio)
        self.spinPrecioNuevo = QtGui.QSpinBox(self.layoutWidget)
        self.spinPrecioNuevo.setEnabled(False)
        self.spinPrecioNuevo.setMinimum(1)
        self.spinPrecioNuevo.setMaximum(999999999)
        self.spinPrecioNuevo.setObjectName(_fromUtf8("spinPrecioNuevo"))
        self.verticalLayout.addWidget(self.spinPrecioNuevo)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.verticalLayout_15.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.pushAgregarNuevo = QtGui.QPushButton(self.layoutWidget)
        self.pushAgregarNuevo.setEnabled(False)
        self.pushAgregarNuevo.setObjectName(_fromUtf8("pushAgregarNuevo"))
        self.horizontalLayout_5.addWidget(self.pushAgregarNuevo)
        self.verticalLayout_15.addLayout(self.horizontalLayout_5)
        self.treeWidget = QtGui.QTreeWidget(self.layoutWidget)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.treeWidget.headerItem().setText(1, _fromUtf8("Articulo"))
        self.verticalLayout_15.addWidget(self.treeWidget)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem4 = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.pushButton_3 = QtGui.QPushButton(self.layoutWidget)
        self.pushButton_3.setEnabled(False)
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.horizontalLayout_2.addWidget(self.pushButton_3)
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_2.addWidget(self.label)
        self.labelTotal = QtGui.QLabel(self.layoutWidget)
        self.labelTotal.setObjectName(_fromUtf8("labelTotal"))
        self.horizontalLayout_2.addWidget(self.labelTotal)
        self.verticalLayout_15.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.textoForma = QtGui.QLabel(self.layoutWidget)
        self.textoForma.setMinimumSize(QtCore.QSize(46, 17))
        self.textoForma.setObjectName(_fromUtf8("textoForma"))
        self.verticalLayout_5.addWidget(self.textoForma)
        self.comboForma = QtGui.QComboBox(self.layoutWidget)
        self.comboForma.setEnabled(False)
        self.comboForma.setObjectName(_fromUtf8("comboForma"))
        self.comboForma.addItem(_fromUtf8(""))
        self.comboForma.addItem(_fromUtf8(""))
        self.verticalLayout_5.addWidget(self.comboForma)
        self.horizontalLayout_6.addLayout(self.verticalLayout_5)
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.textoPago = QtGui.QLabel(self.layoutWidget)
        self.textoPago.setMinimumSize(QtCore.QSize(46, 17))
        self.textoPago.setObjectName(_fromUtf8("textoPago"))
        self.verticalLayout_6.addWidget(self.textoPago)
        self.spinPago = QtGui.QSpinBox(self.layoutWidget)
        self.spinPago.setEnabled(False)
        self.spinPago.setMaximum(999999999)
        self.spinPago.setObjectName(_fromUtf8("spinPago"))
        self.verticalLayout_6.addWidget(self.spinPago)
        self.horizontalLayout_6.addLayout(self.verticalLayout_6)
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_7.addWidget(self.label_2)
        self.labelVuelto = QtGui.QLabel(self.layoutWidget)
        self.labelVuelto.setObjectName(_fromUtf8("labelVuelto"))
        self.verticalLayout_7.addWidget(self.labelVuelto)
        self.horizontalLayout_6.addLayout(self.verticalLayout_7)
        self.verticalLayout_14 = QtGui.QVBoxLayout()
        self.verticalLayout_14.setObjectName(_fromUtf8("verticalLayout_14"))
        spacerItem5 = QtGui.QSpacerItem(20, 13, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_14.addItem(spacerItem5)
        self.pushVender = QtGui.QPushButton(self.layoutWidget)
        self.pushVender.setEnabled(False)
        self.pushVender.setObjectName(_fromUtf8("pushVender"))
        self.verticalLayout_14.addWidget(self.pushVender)
        self.horizontalLayout_6.addLayout(self.verticalLayout_14)
        self.verticalLayout_15.addLayout(self.horizontalLayout_6)
        self.label_8.setBuddy(self.spinVenta)
        self.label_5.setBuddy(self.spinCodigo)
        self.textoArticulo_2.setBuddy(self.comboArticulo)
        self.textoCantidad_2.setBuddy(self.spinCantidad)
        self.textoPrecio_2.setBuddy(self.spinPrecio)
        self.label_4.setBuddy(self.spinCodigoNuevo)
        self.textoArticulo.setBuddy(self.comboArticuloNuevo)
        self.textoCantidad.setBuddy(self.spinCantidadNuevo)
        self.textoPrecio.setBuddy(self.spinPrecioNuevo)
        self.textoForma.setBuddy(self.comboForma)
        self.textoPago.setBuddy(self.spinPago)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.pushAgregarNuevo, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.agregarNuevo)
        QtCore.QObject.connect(self.comboArticuloNuevo, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), Form.cantidadPrecio)
        QtCore.QObject.connect(self.pushVender, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.vender)
        QtCore.QObject.connect(self.pushButton_3, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.eliminar)
        QtCore.QObject.connect(self.spinCodigoNuevo, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Form.cantidadPrecio2)
        QtCore.QObject.connect(self.spinPago, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Form.vuelto)
        QtCore.QObject.connect(self.spinCodigo, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Form.cantidadPrecio4)
        QtCore.QObject.connect(self.comboArticulo, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), Form.cantidadPrecio3)
        QtCore.QObject.connect(self.pushAgregar, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.agregar)
        QtCore.QObject.connect(self.pushButton_5, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.cargaProductos)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.spinVenta, self.pushButton_5)
        Form.setTabOrder(self.pushButton_5, self.spinCodigo)
        Form.setTabOrder(self.spinCodigo, self.comboArticulo)
        Form.setTabOrder(self.comboArticulo, self.spinCantidad)
        Form.setTabOrder(self.spinCantidad, self.spinPrecio)
        Form.setTabOrder(self.spinPrecio, self.pushAgregar)
        Form.setTabOrder(self.pushAgregar, self.spinCodigoNuevo)
        Form.setTabOrder(self.spinCodigoNuevo, self.comboArticuloNuevo)
        Form.setTabOrder(self.comboArticuloNuevo, self.spinCantidadNuevo)
        Form.setTabOrder(self.spinCantidadNuevo, self.spinPrecioNuevo)
        Form.setTabOrder(self.spinPrecioNuevo, self.pushAgregarNuevo)
        Form.setTabOrder(self.pushAgregarNuevo, self.treeWidget)
        Form.setTabOrder(self.treeWidget, self.pushButton_3)
        Form.setTabOrder(self.pushButton_3, self.comboForma)
        Form.setTabOrder(self.comboForma, self.spinPago)
        Form.setTabOrder(self.spinPago, self.pushVender)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Devolución - Indigo", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Devolución - INDIGO", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("Form", "Codigo venta", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_5.setText(QtGui.QApplication.translate("Form", "Cargar", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Form", "Productos entrantes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Form", "Codigo articulo", None, QtGui.QApplication.UnicodeUTF8))
        self.textoArticulo_2.setText(QtGui.QApplication.translate("Form", "Nombre articulo", None, QtGui.QApplication.UnicodeUTF8))
        self.textoCantidad_2.setText(QtGui.QApplication.translate("Form", "Cantidad", None, QtGui.QApplication.UnicodeUTF8))
        self.textoPrecio_2.setText(QtGui.QApplication.translate("Form", "Precio", None, QtGui.QApplication.UnicodeUTF8))
        self.pushAgregar.setText(QtGui.QApplication.translate("Form", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Form", "Productos salientes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Form", "Codigo articulo", None, QtGui.QApplication.UnicodeUTF8))
        self.textoArticulo.setText(QtGui.QApplication.translate("Form", "Nombre articulo", None, QtGui.QApplication.UnicodeUTF8))
        self.textoCantidad.setText(QtGui.QApplication.translate("Form", "Cantidad", None, QtGui.QApplication.UnicodeUTF8))
        self.textoPrecio.setText(QtGui.QApplication.translate("Form", "Precio", None, QtGui.QApplication.UnicodeUTF8))
        self.pushAgregarNuevo.setText(QtGui.QApplication.translate("Form", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("Form", "Codigo", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(2, QtGui.QApplication.translate("Form", "Cantidad", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(3, QtGui.QApplication.translate("Form", "Precio", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(4, QtGui.QApplication.translate("Form", "Subtotal", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("Form", "Quitar", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Total", None, QtGui.QApplication.UnicodeUTF8))
        self.labelTotal.setText(QtGui.QApplication.translate("Form", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.textoForma.setText(QtGui.QApplication.translate("Form", "Forma de pago", None, QtGui.QApplication.UnicodeUTF8))
        self.comboForma.setItemText(0, QtGui.QApplication.translate("Form", "Efectivo", None, QtGui.QApplication.UnicodeUTF8))
        self.comboForma.setItemText(1, QtGui.QApplication.translate("Form", "Credito", None, QtGui.QApplication.UnicodeUTF8))
        self.textoPago.setText(QtGui.QApplication.translate("Form", "Pago", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Vuelto", None, QtGui.QApplication.UnicodeUTF8))
        self.labelVuelto.setText(QtGui.QApplication.translate("Form", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.pushVender.setText(QtGui.QApplication.translate("Form", "Vender", None, QtGui.QApplication.UnicodeUTF8))

